import sys, os
import unittest
sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))

from src.json_format_wf import preprocess_from_file
from src.consistency_check_wf import check_consistency

if __name__ == "__main__":
    # 直接调用函数测试功能
    test_data_path = os.path.join(os.path.dirname(__file__), "..", "data", "1.json")
    result = check_consistency(test_data_path)
    print("检查结果:")
    print(result)
    # unittest.main()

